<#include "../common/layout.ftl"/>
<@layout>
<div class="well">
		<span class="label label-success">泊车地点管理</span>
  </div>
<div class="well">

	<table class="table table-bordered table-striped">
		<thead>
		  <tr>
			<th>城市id</th>
			<th>城市名称</th>
			<th>异地取车价格</th>
			<th>老兵商城取货地址</th>
			<th>操作</th>
		  </tr>
		</thead>
		<tbody>
		<#list page.list as city>
		  <tr>
			<td>
			   ${city.id!""}
			</td>
			<td>
			  ${city.city_name!""}
			</td>
			<td>
			  ${city.pick_car_price!""}元
			</td>
			<td>
			  ${city.address!""}
			</td>
			<td>
				<div class="btn-group">
					 <#if session.userRole == 'admin' || session.userRole == 'brandManager' || session.userRole == 'middleManager'>
					 	<a class="btn btn-primary" href="/newOrder/terminalList/${city.id}"><i class="icon-trash icon-white"></i> 泊车地点设置</a>
					 </#if>
				</div>
			</td>
		  </tr>
		</#list>
		</tbody>
	</table>  
	<#include "../common/paginate.ftl" />
	<@paginate currentPage=page.pageNumber totalPage=page.totalPage actionUrl="/park/parkPlace/" />
</div>
          
</@layout>